{extends admin/layout}


{header}
<!-- Select2 -->
<link rel="stylesheet" href="/static/admin/bower_components/select2/dist/css/select2.min.css">

<script src="/static/admin/bower_components/jquery/dist/jquery.min.js"></script>
<script src="/static/admin/bower_components/ckeditor/ckeditor.js"></script>
<script>
    $(function () {
        CKEDITOR.replace('editor1')
    })
</script>
{/header}

{content}
<form action="/admin/cate/add" method="post">

<div class="box box-default">
    <div class="box-header with-border">
        <h3 class="box-title">添加</h3>
    </div>
    <!-- /.box-header -->
    <div class="box-body">
        <div class="row">
            <div class="col-md-6">

                <div class="form-group">
                    <label>文章分类</label>
                    <input type="text" name="cate" class="form-control" placeholder="文章分类必填，10个字符以内">
                </div>

            </div>
        </div>
        <!-- /.row -->
    </div>
    <!-- /.box-body -->
    <div class="box-footer">
        <input type="reset" class="btn btn-default" value="重填"> <input type="submit" class="btn btn-primary" value="添加">
    </div>
</div>

</form>
{/content}